#include "tplexpression.h"

TplExpression::TplExpression(QObject *parent):QObject(parent) {
}

TplExpression::TplExpression(const TplExpression &other) {
    this->context = other.context;
    this->setParent(other.parent());
}

TplExpression::~TplExpression() {
#ifdef TPL_DEBUG
    qDebug() << "Deleting object TplExpression: " << this << endl;
#endif
}

void TplExpression::setContext(QMap<QString, QVariant> *context) {
    this->context = context;
}

QVariant TplExpression::evaluate(bool *ok) {
    *ok = false;
    qFatal("Method not implemented: %s@%d", __FILE__, __LINE__);
    return QVariant(0);
}


